package com.zy.oop;

/**
 * 人类
 */
class Person {
    private String name;
    private int age;
    public Person(String name){
        this.name = name;
    }
    /**
     * 去上班
     */
    public void dowork(){
        System.out.println(name+"去上班");
    }
}
